package jp.aist.gtrc.plus.admission.EDF.simulation;

import jp.aist.gtrc.plus.admission.EDF.*;

public class JobArrivalEvent extends Event {
   private JobArray jobArray;

   public JobArrivalEvent(int timestamp, JobArray jobArray) {
      super(timestamp,Event.JOB_ARRIVAL);
      this.jobArray = jobArray;
   }

   public JobArray getJobArray() {
      return this.jobArray;
   }

   public String toString() {
      return "" + getTimestamp() + "," + jobArray.name + "," + jobArray.numOfJobs + "," + jobArray.exeTime + "," + jobArray.deadline;
   }

}
